<div id = "editStaffModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true" >
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <h3 class="m-t-none m-b ">修改员工</h3>
                <div class="ibox-content">
                    <div>
                        <p style="color:red;">{{editStaffInfo.errorInfo}}</p>
                        <div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">员工名称</label>
                                <div class="col-sm-10"><input v-model="editStaffInfo.username" type="text" placeholder="必填，请填写员工名称" class="form-control"></div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">员工邮箱</label>
                                <div class="col-sm-10"><input v-model="editStaffInfo.email" type="email" placeholder="必填，请填写员工名称" class="form-control"></div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">手机号码</label>
                                <div class="col-sm-10"><input v-model="editStaffInfo.tel" type="tel" placeholder="必填，请填写手机号码" class="form-control"></div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">员工性别</label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editStaffInfo.sex">
                                        <option selected value="">必填，请选择员工性别</option>
                                        <option value="0">男</option>
                                        <option value="1">女</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">家庭住址</label>
                                <div class="col-sm-10"><input v-model="editStaffInfo.address" type="text" placeholder="请填写家庭住址" class="form-control"></div>
                            </div>
                            <div class="ibox-content">
                                <button class="btn btn-primary float-right" type="button" v-on:click="editStaffSubmit()" ><i class="fa fa-check"></i>&nbsp;修改</button>
                                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" data-dismiss="modal">取消</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>